<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE HTML>
<html>
  <head>
    <title>My JSP 'user-success.jsp' starting page</title>
    <link rel="stylesheet" href="css/me.css" />
	<link rel="stylesheet" href="css/bootstrap.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.js"></script>
	<script type="text/javascript" src="js/bootstrap-dropdown.js"></script>
  </head>
  
  <body>
    <div id="login">
		<h3>CRM系统登录</h3>
		<div class="divider"></div>
		<div>
			<form action="login.action" method="post">
				<c:if test="${param.code == 10001}">
					<div>用户名或密码错误</div>
				</c:if>
				<label>用户名</label>
				<input type="text" name="user.email"/>
				<label>密  码</label>
				<input type="password" name="user.password"/>
				<div class="buttondiv">
					<input type="submit" class="btn btn-primary" value="登陆" />
					<a href="newUser.action"><input type="button" class="btn" value="注册" /></a>
				</div>
			</form>
		</div>
	</div>
  </body>
</html>
